package com.ycy.chuwenuniapp.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class FindAllResVO<T> {
    @ApiModelProperty("数据列表")
    private List<T> rows;

    @ApiModelProperty("总条数")
    private long totalSize;

    public FindAllResVO(List<T> rows, long totalSize) {
        this.rows = rows;
        this.totalSize = totalSize;
    }

    public FindAllResVO() {}
}
